home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2.pm < prev    next >
Text File  |  2007-08-13  |  4KB  |  188 lines

  1. # $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gnome2/Gnome2.pm,v 1.44 2007/08/13 18:14:20 kaffeetisch Exp $
  2.  
  3. package Gnome2;
  4.  
  5. use 5.008;
  6. use strict;
  7. use warnings;
  8.  
  9. use Gtk2;
  10. use Gnome2::Canvas;
  11. use Gnome2::VFS;
  12.  
  13. require DynaLoader;
  14.  
  15. our @ISA = qw(DynaLoader);
  16.  
  17. our $VERSION = '1.042';
  18.  
  19. sub import {
  20.   my $self = shift();
  21.   $self -> VERSION(@_);
  22. }
  23.  
  24. sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
  25.  
  26. Gnome2 -> bootstrap($VERSION);
  27.  
  28. 1;
  29. __END__
  30.  
  31. =head1 NAME
  32.  
  33. Gnome2 - Perl interface to the 2.x series of the GNOME libraries
  34.  
  35. =head1 SYNOPSIS
  36.  
  37.   use Gnome2;
  38.   Gnome2::Program->init ($appname, $appversion);
  39.   my $app = Gnome2::App->new ($appname);
  40.   $app->show;
  41.   Gtk2->main;
  42.  
  43. =head1 ABSTRACT
  44.  
  45. Perl bindings to the 2.x series of the GNOME libraries.  This module allows you
  46. to interface with the libgnome and libgnomeui libraries to create GNOME
  47. applications.
  48.  
  49. =head1 DESCRIPTION
  50.  
  51. Since this module tries to stick very closely to the C API, the documentation
  52. found at
  53.  
  54.   http://developer.gnome.org/doc/API/2.0/libgnome/index.html
  55.  
  56. and
  57.  
  58.   http://developer.gnome.org/doc/API/2.0/libgnomeui/index.html
  59.  
  60. is the canonical reference.
  61.  
  62. In addition to that, there's also the automatically generated API
  63. documentation: L<Gnome2::index>(3pm).
  64.  
  65. The mapping described in L<Gtk2::api>(3pm) also applies to this module.
  66.  
  67. To discuss this module, ask questions and flame/praise the authors, join
  68. gtk-perl-list@gnome.org at lists.gnome.org.
  69.  
  70. =head1 MISSING METHODS
  71.  
  72. =over
  73.  
  74. =item gnome_app_fill_menu_with_data
  75.  
  76. =item gnome_app_fill_menu_custom
  77.  
  78. Use gnome_app_fill_menu instead.
  79.  
  80. =item gnome_app_fill_toolbar_with_data
  81.  
  82. =item gnome_app_fill_toolbar_custom
  83.  
  84. Use gnome_app_fill_toolbar instead.
  85.  
  86. =item gnome_app_create_menus_interp
  87.  
  88. =item gnome_app_create_menus_with_data
  89.  
  90. =item gnome_app_create_menus_custom
  91.  
  92. Use gnome_app_create_menus instead.
  93.  
  94. =item gnome_app_create_toolbar_interp
  95.  
  96. =item gnome_app_create_toolbar_with_data
  97.  
  98. =item gnome_app_create_toolbar_custom
  99.  
  100. Use gnome_app_create_toolbar instead.
  101.  
  102. =item gnome_app_insert_menus_custom
  103.  
  104. =item gnome_app_insert_menus_with_data
  105.  
  106. =item gnome_app_insert_menus_interp
  107.  
  108. Use gnome_app_insert_menus instead.
  109.  
  110. =back
  111.  
  112. =head1 RENAMED METHODS
  113.  
  114. =over
  115.  
  116. =item gnome_program_get
  117.  
  118. Gnome2::Program->get has been renamed to ->get_program to avoid a clash with
  119. GObject->get.
  120.  
  121. =item gnome_popup_menu_attach
  122.  
  123. Gtk2::Menu->attach has been renamed to ->attach_to to avoid a clash with
  124. gtk_menu_attach.
  125.  
  126. =item gnome_popup_menu_append
  127.  
  128. Gtk2::Menu->append has been renamed to ->append_from to avoid a clash with
  129. gtk_menu_shell_append.
  130.  
  131. =back
  132.  
  133. =head1 DIFFERENT CALL SIGNATURES OR SEMANTICS
  134.  
  135. =over
  136.  
  137. =item gnome_client_set_restart_command
  138.  
  139. =item gnome_client_set_discard_command
  140.  
  141. =item gnome_client_set_resign_command
  142.  
  143. =item gnome_client_set_shutdown_command
  144.  
  145. =item gnome_client_set_clone_command
  146.  
  147. Instead of argc and argv you simply pass in a list.
  148.  
  149. =item gnome_program_init
  150.  
  151. Gnome2::Program->init automagically fills argc and argv so just omit these
  152. parameters.
  153.  
  154. =back
  155.  
  156. =head1 SEE ALSO
  157.  
  158. L<perl>(1), L<Gnome2::index>(3pm), L<Glib>(3pm), L<Gtk2>(3pm),
  159. L<Gtk2::api>(3pm).
  160.  
  161. =head1 AUTHOR
  162.  
  163. muppet E<lt>scott at asofyet dot orgE<gt> did the initial stuff.
  164.  
  165. Torsten Schoenfeld E<lt>kaffeetisch at gmx dot deE<gt> took over between 0.34
  166. and 0.36, and implemented lots of tests and missing functionality, and
  167. corrected several of muppet's mistakes.
  168.  
  169. =head1 COPYRIGHT AND LICENSE
  170.  
  171. Copyright (C) 2003-2006 by the gtk2-perl team (see the file AUTHORS)
  172.  
  173. This library is free software; you can redistribute it and/or modify it under
  174. the terms of the GNU Lesser General Public License as published by the Free
  175. Software Foundation; either version 2.1 of the License, or (at your option) any
  176. later version.
  177.  
  178. This library is distributed in the hope that it will be useful, but WITHOUT ANY
  179. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  180. PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
  181. details.
  182.  
  183. You should have received a copy of the GNU Lesser General Public License along
  184. with this library; if not, write to the Free Software Foundation, Inc.,
  185. 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  186.  
  187. =cut
  188.